#!/bin/sh

set -e

function git_config() {
    local user_name=$1
    local git_user_name=$2
    local git_email=$3
    bash -c "su - ${user_name} -s /bin/bash ${ROOT_DIR}/script/test.sh ${git_user_name} ${git_email}"
}

function main() {
    repo_install
    # 配置git和ssh
    git_config test test test@qq.com

    # OpenHarmony工具下载
    openharmony_code_download
}

main